import Vue from 'vue'
import App from './App.vue'
import Vuex from 'vuex'
//router
import router from './router/index.js'

//axios
import axios from 'axios'
import VueAxios from 'vue-axios'
Vue.use(VueAxios, axios)
Vue.use(Vuex)
Vue.config.productionTip = false

// 引入mint-ui
import Mint from 'mint-ui';

Vue.use(Mint);
import 'mint-ui/lib/style.css'
const store = new Vuex.Store({
  state: {
    testanswer : {}
  },
  mutations: {
    testanswer  (state, testanswer ) {
      state.testanswer  = testanswer 
    }
  },
  getters: {
    gettestanswer : state=> state.testanswer
  }
})

new Vue({
  el:"#app",
  render: h => h(App),
  router,
  store,
  /* components: { App },
  template: `
  App
  `, */
})


